package com.webside.wap.common.model;


public class PBanner {
    private Integer id;//id

    private String imgUrl;//图片

    private String linkUrl;//视频

    private Integer sort;//优先级
    
    private String target;//类型

	private String title;//Banner标题
    
    private String summary;//Banner简介
     
 
	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl == null ? null : linkUrl.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
    
    public String getTitle() {
		return title;
	}
    public String getRealTitle(){
    	if (this.title==null||"".equals(this.title)) {
			return "请等待管理员添加标题";
		}else{
			return this.title;
		}
    }
	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}
	 public String getRealSummary(){
	    	if (this.summary==null||"".equals(this.summary)) {
				return "请等待管理员添加简介";
			}else{
				return this.summary;
			}
	    }
	public void setSummary(String summary) {
		this.summary = summary;
	}
}
